﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace VisionCloud.Core.Model.Ms
{
    [Table("MsManualMeasureSummaryItems")]
    public class MsManualMeasureSummaryItems
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid ManualMeasureSummaryId { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        [Column(TypeName = "uuid")]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public Guid TaskId { get; set; }

        /// <summary>
        /// 测量项名称
        /// </summary>
        [Column(TypeName = "varchar(500)")]
        public string Title { get; set; }

        /// <summary>
        /// 测量项编码
        /// </summary>
        [Column(TypeName = "varchar(500)")]
        public string Code { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string ActualMeasurementPoints { get; set; }

        [Column(TypeName = "varchar(50)")]
        public string ExplosionPoints { get; set; }
    }
}